export default {
  mdctrlActiveMode: 2,
  xdataControlName: 'tree',
  loadDefault: true,
  deviewCodeName: 'Tree_common_action',
  deviewId: 'f66912f269b7b3adc6ff6d81673fe5fe',
  appWFId: 'workflow',
  accUserMode: 2,
  capLanguageRes: {
    lanResTag: 'DE.LNAME.MASTER',
  },
  caption: '树视图_树节点直接触发界面行为',
  codeName: 'master_tree_common_action',
  appDataEntityId: 'web.master',
  appViewEngines: [
    {
      engineCat: 'VIEW',
      engineType: 'TreeView',
      id: 'engine',
    },
  ],
  appViewMsgGroupId: 'tree_common_action',
  controls: [
    {
      detreeNodeRSs: [
        {
          childDETreeNodeId: 'node',
          parentDETreeNodeId: 'node_1',
          parentValueLevel: 1,
          searchMode: 3,
          id: '主数据（node_1）-名称（node）',
        },
        {
          childDETreeNodeId: 'node_1',
          parentDETreeNodeId: 'root',
          parentValueLevel: 1,
          searchMode: 3,
          name: '默认根节点（ROOT）-主数据（node_1）',
          id: '默认根节点（root）-主数据（node_1）',
        },
      ],
      detreeNodes: [
        {
          text: '默认根节点',
          nodeType: 'ROOT',
          treeNodeType: 'STATIC',
          hasDETreeNodeRSs: true,
          rootNode: true,
          name: '默认根节点',
          id: 'root',
        },
        {
          dataSourceType: 'DEDATASET',
          idAppDEFieldId: 'id',
          appDEDataSetId: 'fetch_default',
          textAppDEFieldId: 'name',
          nodeType: 'node',
          appDataEntityId: 'web.master',
          decontextMenu: {
            detoolbarItems: [
              {
                actionLevel: 200,
                noPrivDisplayMode: 2,
                uiactionId: 'tree_common_action@master',
                uiactionTarget: 'SINGLEKEY',
                valid: true,
                caption: '编辑',
                itemType: 'DEUIACTION',
                sysImage: {
                  cssClass: 'fa fa-edit',
                  glyph: 'xf044@FontAwesome',
                },
                tooltip: '编辑',
                showCaption: true,
                showIcon: true,
                id: 'deuiaction1',
              },
            ],
            codeName: 'tree_common_action_node_cm',
            controlType: 'CONTEXTMENU',
            logicName: '树节点_上下文菜单常用操作',
            appDataEntityId: 'web.master',
            controlParam: {
              id: 'node_cm',
            },
            modelId: '2cbf581c8eb7199393a187c40c6847bb',
            modelType: 'PSDETOOLBAR',
            name: 'node_cm',
            id: 'tree_common_action_node_cm',
          },
          treeNodeType: 'DE',
          expanded: true,
          name: '名称',
          id: 'node',
        },
        {
          text: '主数据',
          nodeType: 'node_1',
          treeNodeType: 'STATIC',
          hasDETreeNodeRSs: true,
          expanded: true,
          name: '主数据',
          id: 'node_1',
        },
      ],
      outputIconDefault: true,
      navViewPos: 'NONE',
      createControlAction: {
        appDEMethodId: 'create',
        appDataEntityId: 'web.master',
        id: 'create',
      },
      fetchControlAction: {
        appDataEntityId: 'web.master',
        id: 'fetch',
      },
      getControlAction: {
        appDEMethodId: 'get',
        appDataEntityId: 'web.master',
        id: 'load',
      },
      removeControlAction: {
        appDEMethodId: 'remove',
        appDataEntityId: 'web.master',
        id: 'remove',
      },
      updateControlAction: {
        appDEMethodId: 'update',
        appDataEntityId: 'web.master',
        id: 'update',
      },
      autoLoad: true,
      showBusyIndicator: true,
      controls: [
        {
          detoolbarItems: [
            {
              actionLevel: 200,
              noPrivDisplayMode: 2,
              uiactionId: 'tree_common_action@master',
              uiactionTarget: 'SINGLEKEY',
              valid: true,
              caption: '编辑',
              itemType: 'DEUIACTION',
              sysImage: {
                cssClass: 'fa fa-edit',
                glyph: 'xf044@FontAwesome',
              },
              tooltip: '编辑',
              showCaption: true,
              showIcon: true,
              id: 'deuiaction1',
            },
          ],
          codeName: 'tree_common_action_node_cm',
          controlType: 'CONTEXTMENU',
          logicName: '树节点_上下文菜单常用操作',
          appDataEntityId: 'web.master',
          controlParam: {
            id: 'node_cm',
          },
          modelId: '2cbf581c8eb7199393a187c40c6847bb',
          modelType: 'PSDETOOLBAR',
          name: 'node_cm',
          id: 'tree_common_action_node_cm',
        },
      ],
      codeName: 'tree_common_action_tree_view',
      controlType: 'TREEVIEW',
      logicName: '树视图_树节点直接触发界面行为_树视图',
      appDataEntityId: 'web.master',
      controlParam: {
        id: 'tree',
      },
      modelId: '7661af03799233879d7e9e3003b17db8',
      modelType: 'PSDETREEVIEW',
      name: 'tree',
      id: 'web.master.tree_common_action_tree_view',
    },
    {
      groupMode: 'SINGLE',
      controlType: 'SEARCHBAR',
      appDataEntityId: 'web.master',
      controlParam: {
        id: 'searchbar',
      },
      id: 'searchbar',
    },
    {
      capLanguageRes: {
        lanResTag: 'DE.LNAME.MASTER',
      },
      caption: '树视图_树节点直接触发界面行为',
      codeName: 'tree_common_action_captionbar',
      controlType: 'CAPTIONBAR',
      appDataEntityId: 'web.master',
      controlParam: {},
      name: 'captionbar',
      id: 'tree_common_action_captionbar',
    },
  ],
  viewLayoutPanel: {
    layoutBodyOnly: true,
    useDefaultLayout: true,
    layoutPanel: true,
    codeName: 'layoutpanel',
    controlStyle: 'APPDETREEVIEW',
    controlType: 'VIEWLAYOUTPANEL',
    appDataEntityId: 'web.master',
    controlParam: {},
    id: 'layoutpanel',
  },
  title: '树视图_树节点直接触发界面行为',
  viewStyle: 'DEFAULT',
  viewType: 'DETREEVIEW',
  enableDP: true,
  showCaptionBar: false,
  modelId: '8f7527a7aa8cc1024f165f5eae74222c',
  modelType: 'PSAPPDEVIEW',
  name: 'MASTERTree_common_action',
  id: 'web.master_tree_common_action',
};
